home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of MacTutor - S…e Code for Volumes 1 to 5
/
The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin
/
Source Code
/
#18 (Mar 87)
/
Forth SCSI
/
Optimizer test.edit
next >
Wrap
Text File
|
1987-02-10
|
775b
|
44 lines
CODE test
move.l (a6)+,d0
addq.l #2,d0
move.l d0,-(a6)
rts
END-CODE MACH
: test2 test test ;
CODE test1
move.l (a6)+,d1
addq.l #2,d1
move.l d1,-(a6)
rts
END-CODE MACH
: test3 test1 test1 ;
- Disassembler output -
test
01D6C4: MOVE.L (A6)+,D0
01D6C6: ADDQ.L #$2,D0
01D6C8: MOVE.L D0,-(A6)
01D6CA: RTS
test2
01D6CC: MOVE.L (A6)+,D0
01D6CE: ADDQ.L #$2,D0
01D6D0: ADDQ.L #$2,D0
01D6D2: MOVE.L D0,-(A6)
01D6D4: RTS
test1
01D6D6: MOVE.L (A6)+,D1
01D6D8: ADDQ.L #$2,D1
01D6DA: MOVE.L D1,-(A6)
01D6DC: RTS
test3
01D6DE: MOVE.L (A6)+,D1
01D6E0: ADDQ.L #$2,D1
01D6E2: MOVE.L D1,D1
01D6E4: ADDQ.L #$2,D1
01D6E6: MOVE.L D1,-(A6)
01D6E8: RTS